package cn.seaboot.admin.excel.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;

import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * POJO
 * Excel类型 [t_excel]
 *
 * @author ChenSS on 2018/6/20.
 */
@Schema(description = "Excel类型 [t_excel] 实体类")
public class Excel implements Serializable {

    /**
     * ID
     */
    @Size(max = 32)
    @Schema(description = "ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;
    /**
     * 标题
     */
    @Size(max = 32)
    @Schema(description = "标题")
    private String excelTitle;
    /**
     * 起始行号
     */
    @Schema(description = "起始行号")
    private Long startRow;
    /**
     * 结束行号
     */
    @Schema(description = "结束行号")
    private Long endRow;
    /**
     * 列总数
     */
    @Schema(description = "列总数")
    private Integer colCount;
    /**
     * 创建日期
     */
    @Schema(description = "创建日期")
    private java.time.LocalDateTime gmtCreate;
    /**
     * 修改日期
     */
    @Schema(description = "修改日期")
    private java.time.LocalDateTime gmtModified;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getExcelTitle() {
        return excelTitle;
    }

    public void setExcelTitle(String excelTitle) {
        this.excelTitle = excelTitle;
    }

    public Long getStartRow() {
        return startRow;
    }

    public void setStartRow(Long startRow) {
        this.startRow = startRow;
    }

    public Long getEndRow() {
        return endRow;
    }

    public void setEndRow(Long endRow) {
        this.endRow = endRow;
    }

    public Integer getColCount() {
        return colCount;
    }

    public void setColCount(Integer colCount) {
        this.colCount = colCount;
    }

    public java.time.LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(java.time.LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public java.time.LocalDateTime getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(java.time.LocalDateTime gmtModified) {
        this.gmtModified = gmtModified;
    }
}
